/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.farmcode.api.plugin;

/**
 *
 * @author Oscar Ivan Prado
 */
public interface AuthenticationPlugin extends Plugin {
    public static final String AUTHENTICATION_TYPE = "com.farmcode.authentication.type";
    public static final String CONFIG = "com.farmcode.api.plugin.AuthenticationPlugin.config";
    public static final String DOMAIN = "com.farmcode.authentication.domain";
    public static final String URL = "java.naming.provider.url";
    
    boolean autheticate(String userName, String password);
}
